package com.prime;

import java.util.concurrent.ExecutionException;

/**
 * Created by Julia on 08.12.2014.
 */
public class RightPrimeCheckerTest {

    public static void main(String[] args) {
        try {
            System.out.println(RightPrimeChecker.getCountOfPrimeNumbers(1000, 10));
            System.out.println(RightPrimeChecker.getCountOfPrimeNumbers(1000, 50));
            System.out.println(RightPrimeChecker.getCountOfPrimeNumbers(Integer.MAX_VALUE, 500));
        } catch (ExecutionException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
